﻿Imports Mysoft.Map.Service

Public Class EventSubscribeEntrySlxt
    Inherits Mysoft.Map.Service.EventSubscribeEntryBase
    '售楼系统的事件订阅入口

    Public Overrides Sub Subscribe()
        '针对在一个岗位下添加成员和给一个用户添加岗位的场景
        EventService.SubscribeEvent("ZYH_GW_AddYH", New EventService.SyncEventHandler(AddressOf PublicMng.AddProjTeamUserStation))

        EventService.SubscribeEvent("ZYH_YH_AddGw", New EventService.SyncEventHandler(AddressOf PublicMng.AddProjTeamUserStation))
        '针对改变了用户岗位上级岗位的场景
        EventService.SubscribeEvent("ZYH_GW_ChgParentGw", New EventService.SyncEventHandler(AddressOf PublicMng.ChangeProjTeamUserStation))

        '针对移除了岗位下成员和移除了成员岗位的场景
        EventService.SubscribeEvent("ZYH_GW_RemoveYH", New EventService.SyncEventHandler(AddressOf PublicMng.RemoveProjTeamUserStation))

        EventService.SubscribeEvent("ZYH_YH_RemoveGw", New EventService.SyncEventHandler(AddressOf PublicMng.RemoveProjTeamUserStation))

        '针对改变了用户默认岗位的场景
        EventService.SubscribeEvent("ZYH_YH_ChgDefaultGw", New EventService.SyncEventHandler(AddressOf PublicMng.ChangeDefaultUserStation))

        '针对删除了项目团队岗位的场景
        EventService.SubscribeEvent("ZYH_DelGW", New EventService.SyncEventHandler(AddressOf PublicMng.DeleteProjTeamUserStation))

        '针对删除了项目团队的场景
        EventService.SubscribeEvent("ZYH_DelXmTd", New EventService.SyncEventHandler(AddressOf PublicMng.DeleteProjTeam))

    End Sub
End Class
